﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.Apps.Model.Attendance;
using EzDesk.Apps.ServiceImpl.Attendance.Repositories.Interface;
using EzDesk.Apps.ServiceImpl.Repositories.Mock;
using EzDesk.Apps.UnitTest.Mock;

namespace EzDesk.Apps.UnitTest
{
    public class Mock_EvaluationModifyApplicationRepository :
        Mock_Repository<EvaluationModifyApplicaiton>, IEvaluationModifyApplicationRepository
    {
        public IList<EvaluationModifyApplicaiton> GetModifyEvaluationApplicationByUserAndDate(Guid userId, DateTime date)
        {
            return innerStorage.GetAll()
                .Where(p => p.ApplyUserId == userId && p.Date == date.Date)
                .ToList();
        }


        public void SetFeedIdToEvaluationApplication(Guid userId, DateTime date, Guid feedId)
        {
            throw new NotImplementedException();
        }
    }
}
